package cn.com.nes.mybatis.agent.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 项目记录表
 */
@TableName(value = "t_project_record")
@Data
public class TProjectRecord implements Serializable {

    /**
     * 自增id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     *
     */
    @TableField(value = "uuid")
    private String uuid;

    /**
     * 项目ID
     */
    @TableField(value = "project_uuid")
    private String projectUuid;

    /**
     * 项目状态:
     * 待排期	01
     * 待分配	02
     * 待施工	03
     * 施工中	04
     * 待检查	05
     * 待验收	06
     * 完毕	    07
     */
    @TableField(value = "project_status")
    private String projectStatus;

    /**
     * 接收者ID
     */
    @TableField(value = "receiverId")
    private Long receiverid;

    /**
     * 描述
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 图片
     */
    @TableField(value = "images")
    private String images;

    /**
     * 创建者uid
     */
    @TableField(value = "createUid")
    private Long createuid;

    /**
     * 创建时间
     */
    @TableField(value = "createTime")
    private Date createtime;

    /**
     * 修改者uid
     */
    @TableField(value = "modifyUid")
    private Long modifyuid;

    /**
     * 修改时间
     */
    @TableField(value = "modifyTime")
    private Date modifytime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}